/* ****************************************************************
   ****************************************************************
   * Com++ Professional (c) 2009 C++ World
   * http://www.cplusplusworld.com/ mailto:compp@cplusplusworld.com
   ****************************************************************
   ****************************************************************
*/

#ifndef  ACLNT_H
#define  ACLNT_H

#include <string>
#include "ComPlusPlus/SocketUdp.h"

namespace compp {
class AClnt  {

 public:
  AClnt( const std::string & IPAddr, const int port );
  AClnt(  );
  bool Connect( const std::string & IPAddr, const int port );
  bool disConnect(  );
  virtual ~AClnt( );

  std::string requestTransaction (  const std::string & request, const bool cyphered = false )  ;
  
 protected:

  compp::SocketUdp S;
  
};
}

#endif
